import React, { Component } from 'react';
import Box from '@/components/charp2/Animate/Box'
import Fade from '@/components/charp2/Animate/Fade'

class App extends Component {
  constructor (props) {
    super(props);
    this.state = {
      show: false,
      in: true
    };
    this.fnClick = this.fnClick.bind(this);
  }
  fnClick () {
    this.setState({show: !this.state.show});
  }
  render() {
    return (
      <div>
        <h2>App</h2>
        <button onClick={this.fnClick}>显示</button>
        {/* <Box></Box> */}
        <Fade show={this.state.show}></Fade>
        {/* <div>123213</div> */}
        <div className="box">
          
        </div>
      </div>
    );
  }

}

export default App;
